using System.Reflection.Metadata;

namespace Mysolution.Domain.Entities;

public abstract class EntityBase
{
    public Guid Id {get;set;}
    public string? Code {get;set;}

    public bool IsActived {get;set;} =true;
    public bool IsDeleted {get;set;} =false;

    public DateTime CreatedAt {get;set;} =DateTime.UtcNow;
    public DateTime UpdatedAt {get;set;} =DateTime.UtcNow;
    public Guid CreatedBy {get;set;} =Guid.Empty;
    public Guid UpdatedBy {get;set;}=Guid.Empty;

    public int DisplayOrder {get;set;}
    public string? Remarks {get;set;}
}